<ion-content class="m-login">
    <img src="assets/images/loginHead.png" alt="">
    <div class="line">
        <i class="icons-account"></i>
        <input type="text" placeholder="请输入帐号" #username>
    </div>
    <div class="line">
        <i class="icons-password"></i>
        <input type="password" placeholder="请输入密码" #password>
    </div>
    <button class="login" (click)="logIn(username, password)">登录</button>
</ion-content>